package com.base.service;

import com.base.po.voip.PinganSub;
import com.base.po.voip.PinganSubExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PinganSubService {
    int countByExample(PinganSubExample example);

    int deleteByExample(PinganSubExample example);

    int deleteByPrimaryKey(Integer id);


    int insert(PinganSub record);

    int insertSelective(PinganSub record);

    List<PinganSub> selectByExample(PinganSubExample example);

    PinganSub selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") PinganSub record, @Param("example") PinganSubExample example);

    int updateByExample(@Param("record") PinganSub record, @Param("example") PinganSubExample example);

    int updateByPrimaryKeySelective(PinganSub record);

    int updateByPrimaryKey(PinganSub record);

    PinganSub selectByPinganId(String pignanId);

    PinganSub selectByParentIdAndMobile(String parentid, String mobile);
}
